package com.woniuxy02;

interface  MyInterface{
    int XXX=1;
    public static final int YYY=5;

    public abstract void test01();

    void test02();
}
interface  MyInterface02{
    void xxx();
}

class Ccc extends Aaa implements MyInterface,MyInterface02{

    @Override
    public void test01() {

    }

    @Override
    public void test02() {
        System.out.println("ccc--test02");
    }

    @Override
    public void xxx() {
        System.out.println("ccc--xxx");
    }
}

interface MyInterface03{
    void aaa();
}
interface MyInterface04{
    void bbb();
}

interface MyInterface05 extends MyInterface03,MyInterface04{
    void zzz();

    public default void ttt(){

    }
    public static void ooo(){

    }
}


public class Test02 {
    public static void main(String[] args) {
        System.out.println(MyInterface.XXX);
        System.out.println(MyInterface.YYY);
        MyInterface myInterface=new Ccc() ;
        myInterface.test01();
        myInterface.test02();

        MyInterface02 myInterface02=new Ccc() ;
        myInterface02.xxx();

    }
}
